package com.tao.constants;

/**
 *
 * 功能：定义系统所用常量，如求助的各种状态
 */
public class SystemConstant {
    /**
     * 顶级目录的父id
     */
    public static final Long TOP_MENU_PARENT_ID = 0L;
    /**
     * 管理员类型用户
     */
    public static final String USER_TYPE_ADMIN = "1";
    /**
     * 浏览量更新
     */
    public static final  String HELP_VIEW_COUNT = "help:viewCount";
    public static final String WEB_SOCKET_URI = "/ws";
    public static final String WEB_SOCKET_TOKEN_HEADER = "Sec-WebSocket-Protocol";
    public static final String WEB_SOCKET_DATA_TYPE_AUTH = "0";
    public static final String WEB_SOCKET_DATA_TYPE_MESSAGE = "1";

}
